package crazy.collection;

public class Client
{
	public static void main(String[] args)
	{
		Television tv = new HaierTV();
		Iterator it = tv.createIterator();
		System.out.println(it.first().getName());
		
		while (!it.isDone())
		{
			System.out.println(it.next().getName());
		}
	}
}
